package Work2;

public class Demo2 {
    public static void main(String[] args) {
        Zi z = new Zi();
        z.makeMoney();
    }
}


class Fu {
    public Fu() {
    }

    public void makeMoney() {
        System.out.println("一个月2k");
    }
}


class Zi extends Fu {
    @Override
    public void makeMoney() {
        super.makeMoney();
    }
}
